@include('admin.public.head')
<link href="{{ URL::asset('./admin/css/main.css') }}" rel="stylesheet">
<style>
html,body{
	height: auto !important;
	overflow: unset;
}
* {
    -webkit-box-sizing: initial;
    box-sizing: initial;
}
.checkbox {width:auto;margin-right: 4px !important;}
</style>
<body>
<div id="toolTipLayer" style="position: absolute; z-index: 9999; display: none; visibility: visible; left: 95px; top: 573px;"></div>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
	<div class="fixed-bar">
		<div class="item-title">
			<!-- <a class="back" href="javascript:history.back();" title="返回列表">返回上一页</a> -->
			<div class="subject">
{{--				<h3>日志查看</h3>--}}
			</div>
		</div>
	</div>
	<form class="form-horizontal" action="" id="roleform" method="post">
		<div class="ncap-form-default">
			<dl class="row">
				<dt class="tit">
					<label for="role_name"><em>*</em>id</label>
				</dt>
				<dd class="opt">
					<div>{{ $data->id }}</div>
					<p class="notic"></p>
				</dd>
			</dl>
			<dl class="row">
				<dt class="tit">
					<label for="role_name"><em>*</em>管理员id</label>
				</dt>
				<dd class="opt">
					<div>{{ $data->admin_id }}</div>
					<p class="notic"></p>
				</dd>
			</dl>
			<dl class="row">
				<dt class="tit">
					<label for="role_name"><em>*</em>管理员名称</label>
				</dt>
				<dd class="opt">
					<div>{{ $data->name }}</div>
					<p class="notic"></p>
				</dd>
			</dl>
			<dl class="row">
				<dt class="tit">
					<label for="role_name"><em>*</em>url</label>
				</dt>
				<dd class="opt">
					<div>{{ $data->url }}</div>
					<p class="notic"></p>
				</dd>
			</dl>
			<dl class="row">
				<dt class="tit">
					<label for="role_name"><em>*</em>内容</label>
				</dt>
				<dd class="opt">
					<div>{{ $data->content }}</div>
					<p class="notic"></p>
				</dd>
			</dl>
			<dl class="row">
				<dt class="tit">
					<label for="role_name"><em>*</em>ip</label>
				</dt>
				<dd class="opt">
					<div>{{ $data->ip }}</div>
					<p class="notic"></p>
				</dd>
			</dl>
			<dl class="row">
				<dt class="tit">
					<label for="role_name"><em>*</em>useragent</label>
				</dt>
				<dd class="opt">
					<div>{{ $data->useragent }}</div>
					<p class="notic"></p>
				</dd>
			</dl>
			<dl class="row">
				<dt class="tit">
					<label for="role_name"><em>*</em>创建时间</label>
				</dt>
				<dd class="opt">
					<div>{{ date('Y-m-d H:i:s',$data->created_at)  }}</div>
					<p class="notic"></p>
				</dd>
			</dl>

		</div>
	</form>
</div>
<script type="text/javascript">
	$(document).ready(function(){
		$(":checkbox[cka]").click(function(){
			var $cks = $(":checkbox[ck='"+$(this).attr("cka")+"']");
			if($(this).is(':checked')){
				$cks.each(function(){$(this).prop("checked",true);});
			}else{
				$cks.each(function(){$(this).removeAttr('checked');});
			}
		});
	});

	function choosebox(o){
		var vt = $(o).is(':checked');
		if(vt){
			$('input[type=checkbox]').prop('checked',vt);
		}else{
			$('input[type=checkbox]').removeAttr('checked');
		}
	}

	function roleSubmit(){
        return false;
	}
</script>
</body>
</html>
